# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  
  def link_to_remote_unless_current(name, options = {}, html_options = {})
    current_page?(options[:url]) ? name : link_to_function(name, remote_function(options), html_options)
  end
  
  def app_name
      "Query Optimizer Tool"
  end
  
end
